{strip}
{foreach $query as $res}
{if $res.categ === 'photo'}
{$res.user_fullname} {$this->lang['commented']} {$this->lang['in_one_of_your_pic']}{if $res.clubid > 0} {$this->lang['from']} {$res.group_details.name}{/if}.
{$this->str_smilies(pellipse($res.text,120))}
{else if $res.categ === 'post'}
{$res.user_fullname} {$this->lang['commented_on_your']} {$this->lang['post']} {if $res.clubid > 0}{$this->lang['from']} {$res.group_details.name}{/if}.
{$this->str_smilies(pellipse($res.text,120))}
{else if $res.categ === 'video'}
{$res.user_fullname} {$this->lang['commented_on_your']} {$this->lang['video']}{if $res.clubid > 0} {$this->lang['from']} {$res.group_details.name}{/if}.
{$this->str_smilies(pellipse($res.text,120))}
{/if}
{/foreach}
{/strip}